package br.ufpe.cin.dsoa.broker.impl;

import java.util.Map;

import br.ufpe.cin.dsoa.broker.ServiceMetadata;

public class ServiceMetadataImpl implements ServiceMetadata{

	private String providerId;
	private Map<String,Object> properties;
	
	public ServiceMetadataImpl(String providerId,Map<String, Object> properties) {
		this.providerId = providerId;
		this.properties = properties;
	}

	@Override
	public String getProviderId() {
		return providerId;
	}

	@Override
	public Object getServiceProperty(String property) {
		return properties.get(property);
	}

}
